swift 5 func to increase number every time call

148

var n = 0

func increment(){
  n++
  return n
}

Comments

Submit
0 Comments